diff --git a/src/Home.js b/src/Home.js
new file mode 100644
index 0000000..185ef81
--- /dev/null
+++ b/src/Home.js
@@ -0,0 +1,57 @@
+import React from 'react';
+import {Alert, Button, Image, ScrollView, Text} from "react-native";
+import SharedPreferences from 'react-native-shared-preferences';
+import Icon from 'react-native-vector-icons/Ionicons'
+
+export default class Messages extends React.Component {
+ static navigationOptions = ({navigation}) => {
+ return {
+ headerTitle: (
+
+
+ Gotify
+
+ ),
+ headerRight: (
+ {
+ Alert.alert(
+ 'Logout Confirmation',
+ 'Do you really want to log out?',
+ [
+ {
+ text: 'Cancel', onPress: () => {
+ }, style: 'cancel'
+ },
+ {
+ text: 'OK', onPress: () => {
+ SharedPreferences.removeItem("@global:token");
+ navigation.navigate('AuthLoading');
+ }
+ },
+ ],
+ {cancelable: false}
+ )
+ }}
+ color="#000"
+ size={30}
+ backgroundColor="#fff"/>
+ ),
+ };
+ };
+
+ render() {
+ return (
+
+ See notifications for status
+
+ )
+ }
+}
\ No newline at end of file
diff --git a/src/Messages.js b/src/Messages.js
deleted file mode 100644
index 3f06783..0000000
--- a/src/Messages.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from 'react';
-import {Button, Text, View} from "react-native";
-import SharedPreferences from 'react-native-shared-preferences';
-
-export default class Messages extends React.Component {
- render() {
- SharedPreferences.getAll(console.log);
- return (
-
- TODO
-
- )
- }
-}
\ No newline at end of file